﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Library
{
	class GameMathHelper
	{
		public static double DistanceBetweenTwoPoints(Vector2 p1, Vector2 p2)
		{
			return Math.Sqrt(Math.Pow(p1.X - p2.X,2) + Math.Pow(p1.Y - p2.Y,2));
		}
	}
}
